/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lyricsguy.lyrics.container;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author User
 */
public class LyricsContainer {

    private List<String> words = new ArrayList();
    private static LyricsContainer instance;

    public synchronized static LyricsContainer instance() {
        if (instance == null) {
            instance = new LyricsContainer();
        }
        return instance;
    }

    private LyricsContainer() {
    }

    public void addWords(List<String> newWords) {
        words.addAll(newWords);
    }

    public List<String> getWords() {
        return words;
    }
}
